﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="imagedisplaybol.aspx.cs" Inherits="imagedisplaybol" %>
<!DOCTYPE html>
<html>
<head>
    <title>形象展示</title>
</head>
<body>
    <div>
        <section data-role="page" id="opinion_main">
            <div id="opinion_content">                
                <img src="" runat="server" id="pshopbol"/>
                <p class="businessinfo" id="pshopinfo" runat="server">暂无描述</p>
           <%--     <a href="#" data-role="button" data-theme="b" style="margin-top:20px;" id="opinion-Feedback-submit">提交反馈</a>
                <a href="#index" data-role="button" data-theme="b" style="display:none;" id="goBack">返回首页</a>--%>
            </div>
           
            <footer data-role="footer" data-position="fixed" id="opinion_footer">
                <div data-role="navbar" id="nav-glyphish-example">
                <ul>
                    <li><a href="#index" data-load="index.aspx" data-icon="custom" id="site" class="ui-btn-active">商家网站</a></li>
                    <li><a href="#goodlist" data-icon="custom" id="buy" data-load="goodlist.aspx">商品购买</a></li>
                    <li><a href="#membershipcard" data-load="membershipcard.aspx" data-icon="custom"  id="card">会员卡</a></li>
                    <li><a href="#giftlist" data-load="giftlist.aspx" data-icon="custom" id="convert">积分兑换</a></li>
                </ul>
            </div>
            </footer>
            <script type="text/javascript">
                $("#opinion-Feedback-submit").click(function () {
                    var ProposalContent = $.trim($("#opinion-Feedback-content").val());
                    var MemMobile = $.trim($("#opinion-Feedback-tel").val());
                    if (ProposalContent == "") {
                        alert("客官别急嘛，您还没有输入意见呢");
                        return;
                    }
                    if (MemMobile != "" && !MemMobile.IsMobile()) {
                        alert("您输入的手机号码格式有误");
                        return;
                    }
                    $.get("../Service/AjaxService.ashx?Method=MemOpinion",
                    {
                        "ProposalContent": ProposalContent,
                        "MemMobile": MemMobile,
                        "MemID": getCookie("uid")
                    }
                    , function (text) {
                        if (text == "0") { alert("系统有点繁忙，提交失败！"); } else { alert("提交成功"); }
                        $("#goBack").click();
                    }, "text")
                })
            </script>
        </section>
    </div>
</body>
</html>
